<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>用户服务协议</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="/ruoyi/css/style.css">
    <script src="/ruoyi/js/jquery-3.3.1.js"></script>

</head>
<body class="f579">
<style>
    /*消息详情*/
    *{
        /* padding:0; */
        margin:0;
        box-sizing:border-box;
        font-family:"微软雅黑";
    }
    h1,h2,h3,h4,h5,h6,dt,dl,dd,ol,li,ul,p{
        margin:0;
    }
    .f579{
        background:#f5f7f9;
    }
    .message{
        width:-webkit-calc(100% - 30px);
        width:-moz-calc(100% - 30px);
        width:calc(100% - 30px);
        margin:15px auto;
        padding: 15px;
        background: #fff;
        border-radius: 12px;
    }
    .message h1{
        font-size:18px;
        line-height:26px;
    }
    .message h4{
        font-weight:normal;
        font-size:14px;
        color:#999;
        margin: 15px 0;
    }
    .message-con{
        width:100%;
        padding:10px 0 0;
        color:#999;
        line-height:28px;
        border-top:1px dashed #f2f4f6;
    }
    .message-con img{
        max-width: 100%;
        display: block;
        margin:5px auto;
    }

    .message-con video{
        max-width: 100%;
        display: block;
        margin:5px auto;
    }

</style>



<div class="message">

    <section class="message-con" id="content">

    </section>
</div>

<script>
    $("#content").html(htmldecode(`[[${content}]]`));
    function htmldecode(html) {
//1.首先动态创建一个容器标签元素，如DIV
        var temp = document.createElement("div");
        //2.然后将要转换的字符串设置为这个元素的innerHTML(ie，火狐，google都支持)
        temp.innerHTML = html;
        //3.最后返回这个元素的innerText(ie支持)或者textContent(火狐，google支持)，即得到经过HTML解码的字符串了。
        var output = temp.innerText || temp.textContent;
        temp = null;
        return output;

    }
</script>
</body>
</html>